package com.mgface.springcloud.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wanyuxiang
 * @version 1.0
 * @project springcloudCollection
 * @create 2018-08-16 10:23
 **/
@RestController
public class ServerController {
    @GetMapping("/hello")
    public String hello(@RequestParam("param") String param){
        return "rpc"+param;
    }
}
